using System.Collections.Generic;
using System.Drawing;
using System.Xml.Linq;
using iTextSharp.text;

namespace PocoReport
{
    public interface IPart
    {
        IElement GetPdfElement(Document document, Style parentStyle, Scope scope);
        void Load(XNode node);
        XNode Save();
    }

    public interface IContainerPart
    {
        IList<IPart> Parts { get; }
    }
}